package cn.cvs.service.sysUser;

import cn.cvs.pojo.SysUser;

import java.util.List;


public interface SysUserService {

    /**
     *
     * @param sysUser
     * @param pageNo 第几页
     * @param pageSize 页面大小
     * @return
     */
    List<SysUser> selectSysUserList(SysUser sysUser, Integer pageNo, Integer pageSize);

    Integer selectCount(SysUser sysUser);

    int addUser(SysUser sysUser);

    SysUser login(String account, String password);

    int add(SysUser sysUser);

    SysUser selectById(Integer id);

    boolean update(SysUser sysUser);

    SysUser selectByAccount(String account);

    SysUser getUserById(String id);

    SysUser getAccountExist(String account);
}
